﻿namespace EFS.RC.CC.Messages.Communicator.Lync.Participant
{
	/// Class Status
	public class Status : EFS.Common.Serialization.ISerializable
	{
		public Status()
		{
		}

		/// Property Type: Get, Set
		public EFS.RC.CC.Messages.Communicator.Lync.Participant.Type Type { get; set; }

		/// Description
		public System.String Description { get; set; }

		/// Serialize
		public void Serialize(EFS.Common.Serialization.XmlWriter xmlWriter)
		{
			// write
			xmlWriter.Write("Type", (System.Int32)Type);
			xmlWriter.Write("Description", Description);
		}

		/// Deserialize
		public void Deserialize(EFS.Common.Serialization.XmlReader xmlReader)
		{
			// read
			Type = (Participant.Type)xmlReader.ReadInt32("Type");
			Description = xmlReader.Read("Description");
		}
	}
}